home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / www / cgi-bin / uptime < prev   
Encoding:
Text File  |  1996-11-11  |  163 b   |  13 lines

  1. #!/bin/sh
  2.  
  3. UPTIME=/usr/bsd/uptime
  4.  
  5. echo Content-type: text/plain
  6. echo
  7.  
  8. if [ -x $UPTIME ];  then
  9.     $UPTIME
  10. else 
  11.     echo Cannot find uptime command on this system.
  12. fi
  13.